package com.haiheng.voiceandbook.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.haiheng.voiceandbook.R
import com.haiheng.voiceandbook.common.DocDto


class BookTitleListAdapter(layoutResId: Int, data: List<DocDto>?) :
    BaseQuickAdapter<DocDto, BaseViewHolder>(layoutResId, data) {

    override fun convert(helper: BaseViewHolder?, item: DocDto?) {

        helper?.run {
            item?.run {
                setText(R.id.title, title)
            }

        }

    }


}